package org.lzy.aibg.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.lzy.aibg.pojo.Employee;

import java.util.List;

/**
* @author moubinhao
* @description 针对表【t_emp】的数据库操作Mapper
* @createDate 2024-06-18 11:28:07
* @Entity org.lzy.aibg.pojo.Employee
*/
@Mapper
public interface EmployeeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    // 1.TO-DO: 获取所有员工列表
    List<Employee> listAll();
    // 2.TO-DO: 获取员工数量
    int count();

}
